package com.rchat.pocmini.activity.changenickname;

import com.aso.common.http.delegate.HttpCallbackImpl;
import com.rchat.pocmini.common.mvp.BaseModel;
import com.rchat.pocmini.common.mvp.BasePresenter;
import com.rchat.pocmini.common.mvp.BaseView;

/**
 * Created by ljd on 2017/8/31.
 */

public interface ChangeNicknameContract {

    interface View extends BaseView{
        void showPb(boolean show);

    }

    abstract class Presenter extends BasePresenter<ChangeNicknameContract.View, ChangeNicknameContract.Model>{
        abstract void changeNickname(String userName,String displayName);
    }

    interface Model extends BaseModel {
        void changeNickname(String url, String body, HttpCallbackImpl callback);
    }
}
